export const FormItemTypes = [
  {label: '文本框', value: 'text'},
  {label: '多行文本', value: 'textArea'},
  {label: '下拉框', value: 'autocomplete'},
  {label: '选择项', value: 'choice'},
  {label: '人员选择', value: 'user'},
  {label: '机构选择', value: 'org'},
  {label: '时间', value: 'time'},
  {label: '日期', value: 'date'},
  {label: '时间点', value: 'datetime'},
  {label: '时间段', value: 'period'},
  {label: '附件上传', value: 'attachment'},
  {label: '表格', value: 'table'}
];

export const FormItemValidators = [
  {label: '数字', value: 'number'},
  {label: '整数', value: 'integer'},
  {label: '正整数', value: 'positive'},
  {label: '金额', value: 'currency'},
  {label: '邮箱', value: 'mail'},
  {label: '手机号', value: 'phone'}
];
